Sync to trunk version.
authorChong Yidong <cyd@stupidchicken.com>
Tue, 7 Aug 2007 16:32:49 +0000 (16:32 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 7 Aug 2007 16:32:49 +0000 (16:32 +0000)
commitcc16db236c20f1fff4a5df3ac82b429b559f6216
tree669d6abfccd0d4ccb5b71c8a58e8e91028e732f2
parent9cf0326755af38cd433d989a5bc9936465221477
Sync to trunk version.
(search_image_cache, uncache_image, image-refresh): New functions.
Check for fg and bg colors.
(lookup_image): Use search_image_cache.  Cache fg and bg colors.
(pbm_load): Another check for invalid image data.
(png_load): Ignore default background field.
src/image.c